<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:set var="pageTitle" value="部门与员工" />
<%@ include file="../inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
</head>
<script src="/js/popup_ext.js"></script>
<script language="javascript">
	function doInit(){
		document.getElementById("rightDiv").style.width=(document.getElementById("mainDiv").clientWidth-document.getElementById("leftDiv").offsetWidth)+"px";
		document.getElementById("mainFrame").src="/base/StafferList.ihtm";
	}
	//子窗口使用的函数
	function refreshStaWin(){
		document.getElementById("mainFrame").contentWindow.refreshWin();
	}
	function doDelSta(id){
		if(popRetVal!=null){
			document.getElementById("mainFrame").contentWindow.doDelAct(id);
		}
	}
	function refreshDepWin(){
		if(popRetVal!=null){
			document.getElementById("leftFrame").contentWindow.refreshWin(popRetVal);
		}
	}
	function doDelDep(id){
		if(popRetVal!=null){
			document.getElementById("leftFrame").contentWindow.doDelAct(id);
		}
	}
</script>
<body oncontextmenu="return false" class="sheet" onload="doInit();" style="text-align:center;" scroll="no">
<div class="sheet-main" style="width:850px; text-align:left;margin:auto;">
	<div class="sheet-top">
	  <div class="content">
	    <h2>部门与员工</h2>
	    <p>管理部门与员工信息</p>
	  </div>
	</div>

	<div class="sheet-list" id="mainDiv" style="height:508px;">
		
		<div class="nav" id="leftDiv" style="float:left;width:160px;height:100%;">
			<iframe width="100%" height="508px" frameborder="0" id="leftFrame" scrolling="no" src="/base/DepartmentList.ihtm"></iframe>
		</div>
		<div class="main search-business" id="rightDiv" style="float:left;height:100%;">
			<iframe width="100%" height="100%" frameborder="0" id="mainFrame" scrolling="no"></iframe>
		</div>
  </div>
</div>
</body>
</html>